[SPARK-43285] Fix ReplE2ESuite consistently failing with JDK 17#40948
[SPARK-43285] Fix ReplE2ESuite consistently failing with JDK 17#40948vicennial wants to merge 1 commit intoapache:masterfrom
Conversation
|
Is there a way to reproduce the failure like GA? I always run successfully using Java 17 locally w/o this pr. |
|
@LuciferYang To repro, I set |
Let me give it a try ~ thanks ~ |
|
Merging this unblock JDK 17 build. |

What changes were proposed in this pull request?
The timeout duration for the REPL has been increased from 10 -> 30 seconds (to address slow start on JDK 17 tests) and the semaphore permits are drained after each test (to avoid cascading failures, context).
Why are the changes needed?
The GA JDK 17 tests consistently fails as described in the jira issue.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Locally verified by installing and running tests with JDK 17 (both the failure and the subsequent fix).